package com.qf.service;

import com.qf.dto.DeveloperDto;
import com.qf.model.Developer;
import com.qf.page.PageResult;
import com.qf.page.QueryPageBean;
import com.qf.vo.DevProVO;

import java.util.List;

public interface DeveloperService {
    List<Developer> getAll();
    PageResult findPage(QueryPageBean queryPageBean);

    int addDeveloper(DevProVO devProVO);
        //fromencode方式提交参数
    //添加开发商的同时还要将工程进行绑定
    int addAndBind(String did, String dname, int[] pids);

    DeveloperDto findByDid(String did);

    int edit(DeveloperDto developerDto);

    int deleteByDid(String did);

}
